<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head></h:head>
<body>

	<p:layout fullPage="true">

		<p:layoutUnit position="north" size="100" header="Locadora"
			resizable="true" closable="true" collapsible="true">
			<h:outputText value="Top unit content." />
		</p:layoutUnit>


		<p:layoutUnit position="west" size="200" header="Menu"
			resizable="true" closable="true" collapsible="true">
			<h:form>
		

			</h:form>
		</p:layoutUnit>

		<p:layoutUnit position="center">
			<h:form id="form">  
  
    <p:panel id="panel" header="Nova Pessoa" style="margin-bottom:10px;">  
        <p:messages id="messages" />  
        <h:panelGrid columns="3">  
            <h:outputLabel for="nome" value="Nome: *" />  
            <p:inputText id="nome" value="#{clienteBean.nome}" label="Nome">   
            </p:inputText>  
              
        </h:panelGrid>  
    </p:panel>  
  
    <p:commandButton value="Ajax Submit" update="panel,panel" id="ajax"  
             actionListener="#{clienteBean.salvaCliente()}" />  
      
</h:form>  
		</p:layoutUnit>

	</p:layout>

</body>
</html>
